package web;

import entity.Teacher;
import service.impl.TeacherServiceImpl;

public class TestTeacherQuery {
    public static void main(String[] args) throws Exception{
        TeacherServiceImpl teacherService = new TeacherServiceImpl();
        //根据教师id
       Teacher teacher= teacherService.getTeacherByTno(1072);
        System.out.println(teacher);
    }
}
